package com.site.wisdom_construction.dao.personnelModule;

import com.site.wisdom_construction.entity.personnelModule.EducationProductionResponsibilityRecord;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2022/4/20
 * @Description
 */
public interface EducationProductionResponsibilityRecordDao {
    /** 增加入岗教育安全生产责任书记录 */
    int insertEducationProductionResponsibilityRecord(Map map);

    /** 删除入岗教育安全生产责任书记录 */
    int deleteEducationProductionResponsibilityRecord(Map map);

    /** 修改入岗教育安全生产责任书记录 */
    int updateEducationProductionResponsibilityRecord(Map map);

    /** 分页模糊查询入岗教育安全生产责任书记录 */
    List<EducationProductionResponsibilityRecord> findEducationProductionResponsibilityRecordByPage(Map map);

    /** 统计分页总数 */
    long Total(Map map);

    /** 根据id查询入岗教育安全生产责任书记录 */
    EducationProductionResponsibilityRecord findEducationProductionResponsibilityRecordById(Map map);

    /** 根据工人身份证号查询对应入岗教育安全生产责任书记录信息 */
    List<EducationProductionResponsibilityRecord> findEducationProductionResponsibilityRecordByWorkerCard(Map map);

    /** 分页模糊查询教育负责人对应的入岗教育安全生产责任书记录 */
    List<EducationProductionResponsibilityRecord> findEducationProductionResponsibilityRecordByManagerialId(Map map);

    /** 统计分页总数(教育负责人) */
    long TotalByManagerialId(Map map);
}
